export const PAGE_SZIE = 20;

// export const API_URL = 'http://localhost:5000/';
// export const filePrefix = 'http://localhost/file/template_file/';

export const API_URL = 'http://10.108.15.29:5000/';
export const filePrefix = 'http://10.108.15.29/file/template_file/';

// export const API_URL = "https://wallu.cn/SafeServer/"

export const carryName = 'test';

export const getCurrUser = () => {
  const userStr = localStorage.getItem('user');
  if (userStr) {
    const user = JSON.parse(userStr);
    return user;
  }
  return null;
};
